/*
 * @Descripttion:
 * @version:
 * @Author: YouHuJun
 * @Date: 2021-05-29 01:01:55
 * @LastEditors: liujintong liujintong941003@163.com
 * @LastEditTime: 2023-02-14 14:33:14
 */

const route = [
  {
    id: 1,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/config',
    component: 'Layout',
    name: '',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '系统设置',
      roles: ['develop', 'super'],
      icon: 'el-icon-s-tools',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: [
      {
        id: 11,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 1,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'systemConfig',
        component: 'systemConfig',
        name: 'systemConfig',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '系统配置',
          roles: ['develop'],
          icon: 'component',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 17,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 1,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'bank',
        component: 'bank',
        name: 'bank',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '银行管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-bank-card',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 16,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 1,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'region',
        component: 'region',
        name: 'region',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '地区管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-location',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 15,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 1,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'userLevel',
        component: 'userLevel',
        name: 'userLevel',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '用户级别',
          roles: ['develop', 'super'],
          icon: 'el-icon-s-data',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 14,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 1,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'class',
        component: 'class',
        name: 'class',
        hidden: false,
        alwaysShow: true,
        redirect: '',
        meta: {
          title: '分类管理',
          roles: ['develop', 'super'],
          icon: 'tree',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: [
          {
            id: 38,
            revision: 0,
            created_at: '2023-02-08 13:24:26',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675833866,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 14,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'shopClass',
            component: 'shopClass',
            name: 'shopClass',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '产品分类',
              roles: ['develop', 'super', 'admin'],
              icon: 'el-icon-present',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: []
          },
          {
            id: 39,
            revision: 0,
            created_at: '2023-02-08 13:24:26',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675833866,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 14,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'category',
            component: 'category',
            name: 'category',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '文章分类',
              roles: ['develop', 'super', 'admin'],
              icon: 'documentation',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: []
          },
          {
            id: 40,
            revision: 0,
            created_at: '2023-02-08 13:24:26',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675833866,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 14,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'label',
            component: 'label',
            name: 'label',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '标签管理',
              roles: ['develop', 'super', 'admin'],
              icon: 'el-icon-s-flag',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: []
          }
        ]
      },
      {
        id: 13,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 1,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'role',
        component: 'role',
        name: 'Role',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '角色管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-s-custom',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 12,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 1,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'permission',
        component: 'permission',
        name: 'Permission',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '菜单管理',
          roles: ['develop'],
          icon: 'tree-table',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      }
    ]
  },
  {
    id: 2,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/businesses',
    component: 'Layout',
    name: '',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '业务设置',
      roles: ['develop', 'super'],
      icon: 'example',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: [
      {
        id: 23,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 2,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'voucher',
        component: 'voucher',
        name: 'voucher',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '代金券管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-s-ticket',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 22,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 2,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'comment',
        component: 'comment',
        name: 'comment',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '评论设置',
          roles: ['develop', 'super'],
          icon: 'el-icon-chat-square',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 21,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 2,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'expense',
        component: 'expense',
        name: 'expense',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '行程费用',
          roles: [],
          icon: 'guide',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 20,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 2,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'recharge',
        component: 'recharge',
        name: 'recharge',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '充值设置',
          roles: ['develop', 'super'],
          icon: 'el-icon-coin',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 19,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 2,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'share',
        component: 'share',
        name: 'share',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '分润设置',
          roles: ['develop', 'super'],
          icon: 'money',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: [
          {
            id: 44,
            revision: 0,
            created_at: '2023-02-08 13:24:26',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675833866,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 19,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'promote',
            component: 'promote',
            name: 'promote',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '营销分润',
              roles: ['develop', 'super', 'admin'],
              icon: 'el-icon-share',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: [
              {
                id: 47,
                revision: 0,
                created_at: '2023-02-09 16:27:09',
                updated_at: '0000-00-00 00:00:00',
                deleted_at: null,
                created_time: 1675931229,
                updated_time: 0,
                deleted_time: 0,
                parent_id: 44,
                deep: 4,
                sort: 100,
                is_menu: 1,
                switch: 1,
                path: 'platformOrder',
                component: 'platformOrder',
                name: 'platformOrder',
                hidden: false,
                alwaysShow: false,
                redirect: '',
                meta: {
                  title: '平台单',
                  roles: [],
                  icon: 'el-icon-s-platform',
                  noCache: false,
                  affix: false,
                  breadcrumb: true,
                  activeMenu: ''
                }
              },
              {
                id: 48,
                revision: 0,
                created_at: '2023-02-09 16:29:52',
                updated_at: '2023-02-09 17:08:43',
                deleted_at: null,
                created_time: 1675931392,
                updated_time: 0,
                deleted_time: 0,
                parent_id: 44,
                deep: 4,
                sort: 100,
                is_menu: 1,
                switch: 1,
                path: 'shopOrder',
                component: 'shopOrder',
                name: 'shopOrder',
                hidden: false,
                alwaysShow: false,
                redirect: '',
                meta: {
                  title: '店铺单',
                  roles: [],
                  icon: 'el-icon-s-shop',
                  noCache: false,
                  affix: false,
                  breadcrumb: true,
                  activeMenu: ''
                }
              }
            ]
          },
          {
            id: 45,
            revision: 0,
            created_at: '2023-02-08 13:24:26',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675833866,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 19,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'technicianAgent',
            component: 'technicianAgent',
            name: 'technicianAgent',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '技师代理',
              roles: [],
              icon: 'el-icon-money',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: []
          }
        ]
      },
      {
        id: 18,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 2,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'common',
        component: 'common',
        name: 'common',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '通用设置',
          roles: ['develop', 'super'],
          icon: 'el-icon-setting',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: [
          {
            id: 41,
            revision: 0,
            created_at: '2023-02-08 13:24:26',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675833866,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 18,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'gather',
            component: 'gather',
            name: 'gather',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '集合设置',
              roles: ['develop', 'super', 'admin'],
              icon: 'el-icon-more',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: []
          },
          {
            id: 42,
            revision: 0,
            created_at: '2023-02-08 13:24:26',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675833866,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 18,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'refund',
            component: 'refund',
            name: 'refund',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '退款设置',
              roles: ['develop', 'super', 'admin'],
              icon: 'el-icon-d-arrow-left',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: []
          },
          {
            id: 43,
            revision: 0,
            created_at: '2023-02-08 13:24:26',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675833866,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 18,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'showAuth',
            component: 'showAuth',
            name: 'showAuth',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '显示权限',
              roles: ['develop', 'super', 'admin'],
              icon: 'eye-open',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: []
          },
          {
            id: 46,
            revision: 0,
            created_at: '2023-02-09 16:22:38',
            updated_at: '0000-00-00 00:00:00',
            deleted_at: null,
            created_time: 1675930958,
            updated_time: 0,
            deleted_time: 0,
            parent_id: 18,
            deep: 3,
            sort: 100,
            is_menu: 1,
            switch: 1,
            path: 'shopType',
            component: 'shopType',
            name: 'shopType',
            hidden: false,
            alwaysShow: false,
            redirect: '',
            meta: {
              title: '店铺类型',
              roles: [],
              icon: 'theme',
              noCache: false,
              affix: false,
              breadcrumb: true,
              activeMenu: ''
            },
            children: []
          }
        ]
      }
    ]
  },
  {
    id: 3,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/users',
    component: 'Layout',
    name: '',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '用户管理',
      roles: ['develop', 'super'],
      icon: 'peoples',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: [
      {
        id: 24,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 3,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'admin',
        component: 'admin',
        name: 'userAdmin',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '管理员管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-s-custom',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 29,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 3,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'technician',
        component: 'technician',
        name: 'technician',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '技师管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-user-solid',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 28,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 3,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'shop',
        component: 'shop',
        name: 'shop',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '店铺管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-s-shop',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 27,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 3,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'agent',
        component: 'agent',
        name: 'agent',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '代理管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-s-management',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 26,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 3,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'business',
        component: 'business',
        name: 'business',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '业务管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-s-flag',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 25,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 3,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'user',
        component: 'user',
        name: 'user',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '用户管理',
          roles: ['develop', 'super'],
          icon: 'el-icon-user',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      }
    ]
  },
  {
    id: 4,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/goods',
    component: 'Layout',
    name: 'good',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '产品管理',
      roles: ['develop', 'super', 'admin'],
      icon: 'el-icon-s-goods',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: []
  },
  {
    id: 5,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/order',
    component: 'Layout',
    name: '',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '订单管理',
      roles: ['develop', 'super', 'admin'],
      icon: 'el-icon-s-order',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: []
  },
  {
    id: 6,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/article',
    component: 'Layout',
    name: 'article',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '文章管理',
      roles: ['develop', 'super', 'admin'],
      icon: 'education',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: [
      {
        id: 31,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 6,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'systemArticle',
        component: 'systemArticle',
        name: 'systemArticle',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '系统文章',
          roles: ['develop', 'super', 'admin'],
          icon: 'el-icon-document-copy',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 30,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 6,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'notice',
        component: 'notice',
        name: 'notice',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '公告管理',
          roles: ['develop', 'super', 'admin'],
          icon: 'el-icon-postcard',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      }
    ]
  },
  {
    id: 7,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/picture',
    component: 'Layout',
    name: '',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '图片空间',
      roles: ['develop', 'super', 'admin'],
      icon: 'el-icon-picture',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: [
      {
        id: 32,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 7,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'album',
        component: 'album',
        name: 'album',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '我的相册',
          roles: ['develop', 'super', 'admin'],
          icon: 'el-icon-collection',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      }
    ]
  },
  {
    id: 8,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/log',
    component: 'Layout',
    name: '',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '日志管理',
      roles: ['develop', 'super', 'admin'],
      icon: 'el-icon-notebook-1',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: [
      {
        id: 37,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 8,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'scoreLog',
        component: 'scoreLog',
        name: 'scoreLog',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '用户积分日志',
          roles: ['develop', 'super', 'admin'],
          icon: 'el-icon-medal',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 36,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 8,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'coinLog',
        component: 'coinLog',
        name: 'coinLog',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '用户系统币日志',
          roles: ['develop', 'super', 'admin'],
          icon: 'el-icon-coin',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 35,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 8,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'balanceLog',
        component: 'balanceLog',
        name: 'balanceLog',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '用户余额日志',
          roles: ['develop', 'super', 'admin'],
          icon: 'money',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 34,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 8,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'eventLog',
        component: 'eventLog',
        name: 'eventLog',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '事件日志',
          roles: ['develop', 'super', 'admin'],
          icon: 'el-icon-view',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      },
      {
        id: 33,
        revision: 0,
        created_at: '2023-02-08 13:24:26',
        updated_at: '0000-00-00 00:00:00',
        deleted_at: null,
        created_time: 1675833866,
        updated_time: 0,
        deleted_time: 0,
        parent_id: 8,
        deep: 2,
        sort: 100,
        is_menu: 1,
        switch: 1,
        path: 'loginLog',
        component: 'loginLog',
        name: 'LoginLog',
        hidden: false,
        alwaysShow: false,
        redirect: '',
        meta: {
          title: '登录日志',
          roles: ['develop', 'super', 'admin'],
          icon: 'el-icon-notebook-2',
          noCache: false,
          affix: false,
          breadcrumb: true,
          activeMenu: ''
        },
        children: []
      }
    ]
  },
  {
    id: 9,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/suggest',
    component: 'Layout',
    name: '',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '建议反馈',
      roles: ['develop', 'super', 'admin'],
      icon: 'bug',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: []
  },
  {
    id: 10,
    revision: 0,
    created_at: '2023-02-08 13:24:26',
    updated_at: '0000-00-00 00:00:00',
    deleted_at: null,
    created_time: 1675833866,
    updated_time: 0,
    deleted_time: 0,
    parent_id: 0,
    deep: 1,
    sort: 100,
    is_menu: 1,
    switch: 1,
    path: '/message',
    component: 'Layout',
    name: '',
    hidden: false,
    alwaysShow: true,
    redirect: '',
    meta: {
      title: '消息通知',
      roles: ['develop', 'super'],
      icon: 'message',
      noCache: false,
      affix: false,
      breadcrumb: true,
      activeMenu: ''
    },
    children: []
  }
]

module.exports = [
  {
    url: '/permission/routes',
    type: 'get',
    response: (config) =>
    {
      return {
        code: 0,
        msg: '获取路由成功',
        data: route
      }
    }
  },
  {
    url: '/permission/addMenu',
    type: 'post',
    response: (config) =>
    {
      return {
        code: 0,
        msg: '添加菜单成功'
      }
    }
  },
  {
    url: '/permission/updateMenu',
    type: 'post',
    response: (config) =>
    {
      return {
        code: 0,
        msg: '修改菜单成功'
      }
    }
  },
  {
    url: '/permission/deleteMenu',
    type: 'post',
    response: (config) =>
    {
      return {
        code: 0,
        msg: '删除菜单成功'
      }
    }
  },
  {
    url: '/permission/disabledMenu',
    type: 'post',
    response: (config) =>
    {
      return {
        code: 0,
        msg: '修改状态成功'
      }
    }
  }
]
